<?php

error_reporting(0);

define('DOC_ROOT', $_SERVER['DOCUMENT_ROOT']);

require_once DOC_ROOT . '/src/php/Db.php';
require_once DOC_ROOT . '/src/php/Utils.php';
require_once DOC_ROOT . '/src/php/Config.php';
require_once DOC_ROOT . '/src/php/Index.php';

$instance = new PIndex();
$instance->indexDraftAction();